infox


Return info on application or extended Tcl

Syntax

infox option

Description

Returns information about Extended Tcl, or the current application. The following infox command options are available:

version
Returns the version number of Extended Tcl. The version number for Extended Tcl is generated by combining the base version of the standard Tcl code with a letter indicating the version of Extended Tcl being used. This is the documentation for version 7.0a.
patchlevel
Returns the patchlevel for Extended Tcl.
have_flock
Returns 1 if the flock command is defined, otherwise 0.
have_fsync
Returns 1 if the fsync system call is available and the sync command will sync individual files, 0 if it is not available and the sync command will always sync all file buffers.
have_msgcats
Returns 1 if XPG message catalogs are available, 0 if they are not. The catgets command is designed to continue to function without message catalogs, always returning the default string.
have_posix_signals
Returns 1 if POSIX signals are available (block and unblock options available for the signal command). 0 is returned if POSIX signals are not available.
have_sockets
Returns 1 if sockets are available (server_open, server_info commands and fstat removehost option). 0 is returned if sockets are not available.
appname
Returns the symbolic application name of the current application linked with the Extended Tcl library. The C variable tclAppName must be set by the application to return an application-specific value for this variable.
applongname
Returns a natural language name for the current application. The C variable tclLongAppName must be set by the application to return an application-specific value for this variable.
appversion
Returns the version number for the current application. The C variable tclAppVersion must be set by the application to return an application-specific value for this variable.
apppatchlevel
Returns the patchlevel for the current application. The C variable tclAppPatchlevel must be set by the application to return an application-specific value for this variable.